Label enconding code with sklearn

38

df_ordinal_label=df_cate_ordinal.apply(preprocessing.LabelEncoder().fit_transform)#used sklearn lib
df_ordinal_label.head(5)

Comments

Submit
0 Comments